package com.atguigu.jvm;


import java.util.concurrent.atomic.AtomicLong;

public class Sof {


    private static AtomicLong atomicLong = new AtomicLong(0);

    public static void test(){
        System.out.println(atomicLong.getAndIncrement());
        test();
    }

    public static void main(String[] args) {
                Sof.test();
    }

}
